package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallGroupon;
import com.project.mall.bean.generator.CskaoyanmallGrouponExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallGrouponMapper {
    long countByExample(CskaoyanmallGrouponExample example);

    int deleteByExample(CskaoyanmallGrouponExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallGroupon record);

    int insertSelective(CskaoyanmallGroupon record);

    List<CskaoyanmallGroupon> selectByExample(CskaoyanmallGrouponExample example);

    CskaoyanmallGroupon selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallGroupon record, @Param("example") CskaoyanmallGrouponExample example);

    int updateByExample(@Param("record") CskaoyanmallGroupon record, @Param("example") CskaoyanmallGrouponExample example);

    int updateByPrimaryKeySelective(CskaoyanmallGroupon record);

    int updateByPrimaryKey(CskaoyanmallGroupon record);
}